﻿@model List<TagDTO>
@section CSS
{
    <link rel="stylesheet" href="@Url.Content("~/Themes/Green/Styles/jquery.datatables.css")" type="text/css" media="screen" />
}
@section Scripts
{
    <script src="@Url.Content("~/Themes/Green/Scripts/jquery.dataTables.min.js")" type="text/javascript"></script>
}

<div class="content-box">
    <div class="content-box-header">
        <span>管理文章标签</span>
    </div>
    <div class="content-box-content">
        <table class="commonTable">
            <thead>
                <tr>
                    <td style="display: none;">
                        Tag Id
                    </td>
                    <th>
                        Tag 名称
                    </th>
                    <th>
                        删除
                    </th>
                </tr>
            </thead>
            @foreach (TagDTO dto in Model)
            {
                <tr>
                    <td style="display: none;">
                        @dto.Id
                    </td>
                    <td>
                        @dto.TagName
                    </td>
                    <td>
                        <img class="fnDeleteTag" src=@Url.Content("~/Themes/Green/Images/delete.png") style="cursor:pointer;"/>
                    </td>
                </tr>
            }
        </table>
    </div>
</div>
